[NET] back: Fix off-by-one error in netbk_tx_err
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 3 Jul 2006 07:57:15 +0000 (08:57 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 3 Jul 2006 07:57:15 +0000 (08:57 +0100)
commit3de1ac2405d668a2ade90c20ae44a37ea1c66fac
treeb49e73c68273b9919c71486cbd605f7f6bdbfa95
parent943a72a09af452eb1654b10ebdae7ce064f29718
[NET] back: Fix off-by-one error in netbk_tx_err

The generalised extra request info patch introduced a bug with the use
of netbk_tx_err since it advanced the req_cons pointer by one.  This
patch fixes thing by delaying the increment in netbk_tx_err.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
linux-2.6-xen-sparse/drivers/xen/netback/netback.c